//子组件
 
<template>
<div>
 <h3>我是Emit子组件呀！</h3> <br/>
 

</div>

 
</template>
 
<script>

export default{
    name: "childEmit",

    mounted: function(){
        this.$emit("getFatherMsg",'我是从子组件传过来的父组件')
    }
   
      
}
  
</script>